package com.base.common.persistent.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.base.common.persistent.model.Expenses;
import com.base.common.persistent.model.Paied;

/**
 * 缴费管理dao
 * 
 * @author kat.luhongkai
 *
 */
public interface ExpensesMapper {

	/**
	 * 查询物业欠费信息
	 * 
	 * @param userId
	 * @return
	 */
	List<Expenses> queryExpensesByUserIdAndArrearage(
			@Param(value = "userId") int userId);

	/**
	 * 查询物业预收款项信息
	 * 
	 * @param userId
	 * @return
	 */

	List<Paied> queryPaiedByUserIdAndNoCharge(
			@Param(value = "userId") int userId);

	/**
	 * 添加预支付信息
	 * 
	 * @return
	 */
	public int addPaied(Paied paied);

}
